package co.com.smart.eagle.client.activity;



import co.com.smart.eagle.client.factory.EagleFactory;
import co.com.smart.eagle.client.view.HomeView;
import co.com.smart.eagle.client.view.HomeView.Presenter;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;

public class HomeActivity extends AbstractActivity implements Presenter {

	private HomeView homeView;

	public HomeActivity(EagleFactory eagle)
	{
		homeView = eagle.getHomeView();
	}

	@Override
	public void start(AcceptsOneWidget panel, EventBus eventBus)
	{
		panel.setWidget(homeView);
	}

}
